package com.sumer.psychology.sharing.domain.model;

import com.sumer.psychology.common.domain.model.AbstractDomainEvent;
import com.sumer.psychology.friend.domain.model.MemberId;

/**
 * User: zhenguang.zhu
 * Date: 2014/9/12
 * Time: 11:21
 */
public class SharedResourceRecommendedEvent extends AbstractDomainEvent {
    private SharedResourceId sharedResourceId;
    private MemberId from;
    private MemberId to;

    public SharedResourceRecommendedEvent(SharedResourceId sharedResourceId, MemberId from, MemberId to) {
        super();
        this.sharedResourceId = sharedResourceId;
        this.from = from;
        this.to = to;
    }

    public SharedResourceId getSharedResourceId() {
        return sharedResourceId;
    }

    public MemberId getFrom() {
        return from;
    }

    public MemberId getTo() {
        return to;
    }
}
